import axios from "~/api/request.js";

export const getAllWare = () => {
    return axios.get('/api/ware/selectAllWare')
      .then(response => response.data)
      .catch(error => {
        console.error('Error fetching warehouses:', error)
        throw error 
      })
  }



